package donnees;

import java.util.Random;

public class Villageois {
	private int capacite_or;
	private int capacite_nourriture;
	private boolean vivant;
	
	public Villageois() {
		Random rand_or = new Random();
		this.capacite_or = rand_or.nextInt(10 - 2 + 1) + 2;
		
		Random rand_nourriture = new Random();
		this.capacite_nourriture = rand_nourriture.nextInt(10 - 2 + 1) + 2;
		this.vivant = true;
	}

	public int getCapacite_or() {
		return capacite_or;
	}

	public void setCapacite_or(int capacite_or) {
		this.capacite_or = capacite_or;
	}

	public int getCapacite_nourriture() {
		return capacite_nourriture;
	}

	public void setCapacite_nourriture(int capacite_nourriture) {
		this.capacite_nourriture = capacite_nourriture;
	}

	public boolean isVivant() {
		return vivant;
	}

	public void setVivant(boolean vivant) {
		this.vivant = vivant;
	}
	
	
	
	
}
